package com.ht.bean;

import java.util.Set;

/**
 * Department entity. @author MyEclipse Persistence Tools
 */

public class Department implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	
	private Integer did;
	private String dname;
	private String dstatus;
	private String dcreatetime;
	private Set<Family> familys;
	
	private Dep dep;

	public Department() {
	}

	public Department(String dname, String dstatus, String dcreatetime) {
		this.dname = dname;
		this.dstatus = dstatus;
		this.dcreatetime = dcreatetime;
	}

	public Integer getDid() {
		return this.did;
	}

	public void setDid(Integer did) {
		this.did = did;
	}

	public String getDname() {
		return this.dname;
	}

	public void setDname(String dname) {
		this.dname = dname;
	}

	public String getDstatus() {
		return this.dstatus;
	}

	public void setDstatus(String dstatus) {
		this.dstatus = dstatus;
	}

	public String getDcreatetime() {
		return this.dcreatetime;
	}

	public void setDcreatetime(String dcreatetime) {
		this.dcreatetime = dcreatetime;
	}
	public Set<Family> getFamilys() {
		return familys;
	}

	public void setFamilys(Set<Family> familys) {
		this.familys = familys;
	}

	public Dep getDep() {
		return dep;
	}

	public void setDep(Dep dep) {
		this.dep = dep;
	}


}